package com.share.design.chain;

/**
 * author:caifan
 * date:2020/2/5
 */
public class ChainClient {
    public static void main(String[] args) {
        Request request1 = new Request("张三", 2200f);
        Request request2 = new Request("赵六", 3800f);
        Request request3 = new Request("李四", 1800f);
        Request request4 = new Request("王五", 800f);
        Request request5 = new Request("陈琦", 4800f);

        Manager projectManager = new ProjectManager();
        projectManager.request(request1);
        projectManager.request(request2);
        projectManager.request(request3);
        projectManager.request(request4);
        projectManager.request(request5);
    }
}
